package com.EC_Jeans.datamodel;

import java.util.Date;

/**
 * UserInfo entity. @author MyEclipse Persistence Tools
 */

public class UserInfo implements java.io.Serializable {

	// Fields

	private Integer infoId;
	private User user;
	private String liveProvince;
	private String liveCity;
	private Boolean sex;
	private Date birthday;
	private String description;

	// Constructors

	/** default constructor */
	public UserInfo() {
	}

	/** minimal constructor */
	public UserInfo(Integer infoId, User user) {
		this.infoId = infoId;
		this.user = user;
	}

	/** full constructor */
	public UserInfo(Integer infoId, User user, String liveProvince,
			String liveCity, Boolean sex, Date birthday, String description) {
		this.infoId = infoId;
		this.user = user;
		this.liveProvince = liveProvince;
		this.liveCity = liveCity;
		this.sex = sex;
		this.birthday = birthday;
		this.description = description;
	}

	// Property accessors

	public Integer getInfoId() {
		return this.infoId;
	}

	public void setInfoId(Integer infoId) {
		this.infoId = infoId;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getLiveProvince() {
		return this.liveProvince;
	}

	public void setLiveProvince(String liveProvince) {
		this.liveProvince = liveProvince;
	}

	public String getLiveCity() {
		return this.liveCity;
	}

	public void setLiveCity(String liveCity) {
		this.liveCity = liveCity;
	}

	public Boolean getSex() {
		return this.sex;
	}

	public void setSex(Boolean sex) {
		this.sex = sex;
	}

	public Date getBirthday() {
		return this.birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

}